package com.shiroha.video.mapper;

import com.mybatisflex.core.BaseMapper;
import com.shiroha.video.pojo.Work;
import com.shiroha.video.pojo.vo.WorkVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.UUID;

@Mapper
public interface WorkMapper extends BaseMapper<Work> {
    List<WorkVO> selectPage(@Param("userId") UUID userId);

    void insertWorkTags(@Param("workId") Long workId, @Param("tags") String[] tags);
}
